<template>
  <view class="container">
    <block v-if="list.length > 0">
      <block v-for="item in list" :key="item.id">
        <view class="item common-bg-white">
          <!-- <p>购买次数：{{item.vip.useNum || 0}}</p> -->
          <p class="margin-t-ten">支付金额：{{item.changePrice}}</p>
          <p class="margin-t-ten">使用时间：{{item.vip.month == '-1' ? '终生会员' : item.vip.month}}年</p>
          <p class="margin-t-ten">下单时间：{{item.createTime}}</p>
          <p class="margin-t-ten">权益介绍：{{item.vip.msg}}</p>
        </view>
      </block>
    </block>
    <custom-emptyMsg 
      v-else
    />
  </view>
</template>
<script src="./indexMod.js" />
<style src="./indexStyle.scss" lang="scss" scoped>
</style>